An Int8 is an intrinsic data type in REALbasic. It is a signed integer that uses one byte of storage.
It has a range of -128 to 127. The default value of an Int8 is 0.
REALbasic offers both signed and unsigned integer data types that use one, two, four, or eight bytes of memory. The following table summaries these data types.
Data Type | Number of Bytes | Range |
|---|---|---|
1 |
-128 to 127 |
|
2 |
-32,768 to 32,767 |
|
4 |
-2,147,483,648 to 2,147,483,647 |
|
8 |
-2^63 to 2^63-1 |
|
1 |
0 to 255 |
|
2 |
0 to 65535 |
|
4 |
0 to 4,294,967,295 |
|
8 |
0 to 2^64-1 |
.
See Also
Boolean, Byte, Color, Double, Int16, Int32, Int64, Integer, Ptr, Single, String, UInt8, UInt16, UInt32, UInt64, Variant data types; -, +, *, /, <, <=, =, >=, >, <>, \, IsNumeric, Mod, Str, Val, VarType, functions; Dim statement.